package com.luoqy.speedy.enums;

/**
 * @author lumberer
 * @date 2022/9/28 17:49
 * web 端通用状态
 */
public enum WEB {
    SUCCESS("成功",200),
    ERROR("失败",500),
    FAIL("异常",505);


    private String name;
    private Integer state;

    private WEB(String name, Integer state) {
        this.name = name;
        this.state = state;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
